package com.deer.wms.base.system.dao.zh;

import com.deer.wms.base.system.model.zh.Quality;
import com.deer.wms.base.system.model.zh.QualityDto;
import com.deer.wms.common.core.commonMapper.Mapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface QualityMapper extends Mapper<Quality> {

    QualityDto findQualityById(Integer qualityId);

    QualityDto findQuality(Quality quality);

    List<QualityDto> findQualityList(Quality quality);

    Quality findQualityByCode(String code);

    int delectQualityById(Integer qualityId);

    int delectQualityByIds(String[] qualityIds);

    int saveQuality(Quality quality);

    int updateQuality(Quality quality);

    int updateResult(Quality quality);


}
